package com.gdssoft.pdaweb.model;

import java.util.Date;

import com.gdssoft.core.model.BaseModel;
import com.gdssoft.core.model.CheckCompleteResult;
import com.gdssoft.core.model.GenericModel;
import com.google.gson.annotations.Expose;
/**
 * 巡检工单
 * @author F3230313
 *
 */
public class CheckWorkOrder extends BaseModel 
implements GenericModel {

	private static final long serialVersionUID = 1L;
	
	@Expose
	protected Long assignmentID;
	@Expose 
	protected String woNum ;
	@Expose
	protected String description;
	@Expose
	protected String appointPeople;
	@Expose
	protected String appointDate;
	@Expose
	protected String siteID;
	@Expose
	protected String locationID;
	@Expose 
	protected String locDescription;
	@Expose
	protected String barCode;
	@Expose
	protected String assetNo;

	protected PdaMdAssetInfo pdaMdAssetInfo;
	@Expose
	protected String assetDescription;
	@Expose
	protected String status;
	@Expose
	protected Date exstatusDate;
	@Expose
	protected String reportedBy;
	@Expose 
	protected Date reportedDate;
	@Expose 
	protected Date beginTime;
	@Expose 
	protected Date endTime;
	@Expose 
	protected String workComment;
	@Expose 
	protected String uploadDt;
	protected String downLoadDt;
	protected String feedbackDt;
	
	@Expose 
	protected String lastEditBy;
	@Expose 
	protected Date lastEditDt;
	@Expose 
	protected String createdBy;
	@Expose 
	protected Date createdDt;
    
	/**
	 * 更新人
	 */
	protected String updatePerson;
	/**
	 * 更新时间
	 */
	protected Date updateDt;
	
	
	
	
	
	public String getReportedBy() {
		return reportedBy;
	}






	public void setReportedBy(String reportedBy) {
		this.reportedBy = reportedBy;
	}






	public Date getReportedDate() {
		return reportedDate;
	}






	public void setReportedDate(Date reportedDate) {
		this.reportedDate = reportedDate;
	}






	public Long getAssignmentID() {
		return assignmentID;
	}






	public void setAssignmentID(Long assignmentID) {
		this.assignmentID = assignmentID;
	}






	public String getWoNum() {
		return woNum;
	}






	public void setWoNum(String woNum) {
		this.woNum = woNum;
	}






	public String getDescription() {
		return description;
	}






	public void setDescription(String description) {
		this.description = description;
	}






	public String getAppointPeople() {
		return appointPeople;
	}






	public void setAppointPeople(String appointPeople) {
		this.appointPeople = appointPeople;
	}






	public String getAppointDate() {
		return appointDate;
	}






	public Date getBeginTime() {
		return beginTime;
	}






	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}






	public Date getEndTime() {
		return endTime;
	}






	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}






	public void setAppointDate(String appointDate) {
		this.appointDate = appointDate;
	}






	public String getSiteID() {
		return siteID;
	}






	public void setSiteID(String siteID) {
		this.siteID = siteID;
	}






	public String getLocationID() {
		return locationID;
	}






	public void setLocationID(String locationID) {
		this.locationID = locationID;
	}






	public String getLocDescription() {
		return locDescription;
	}






	public void setLocDescription(String locDescription) {
		this.locDescription = locDescription;
	}






	public String getAssetNo() {
		return assetNo;
	}






	public void setAssetNo(String assetNo) {
		this.assetNo = assetNo;
	}






	public String getAssetDescription() {
		return assetDescription;
	}






	public void setAssetDescription(String assetDescription) {
		this.assetDescription = assetDescription;
	}






	public String getStatus() {
		return status;
	}






	public void setStatus(String status) {
		this.status = status;
	}






	public Date getExstatusDate() {
		return exstatusDate;
	}






	public void setExstatusDate(Date exstatusDate) {
		this.exstatusDate = exstatusDate;
	}






	public String getUploadDt() {
		return uploadDt;
	}






	public void setUploadDt(String uploadDt) {
		this.uploadDt = uploadDt;
	}






	public String getDownLoadDt() {
		return downLoadDt;
	}






	public void setDownLoadDt(String downLoadDt) {
		this.downLoadDt = downLoadDt;
	}






	public String getFeedbackDt() {
		return feedbackDt;
	}






	public void setFeedbackDt(String feedbackDt) {
		this.feedbackDt = feedbackDt;
	}






	public String getUpdatePerson() {
		return updatePerson;
	}






	public void setUpdatePerson(String updatePerson) {
		this.updatePerson = updatePerson;
	}






	public Date getUpdateDt() {
		return updateDt;
	}






	public void setUpdateDt(Date updateDt) {
		this.updateDt = updateDt;
	}






	public String getWorkComment() {
		return workComment;
	}






	public void setWorkComment(String workComment) {
		this.workComment = workComment;
	}






	public String getLastEditBy() {
		return lastEditBy;
	}






	public void setLastEditBy(String lastEditBy) {
		this.lastEditBy = lastEditBy;
	}






	public Date getLastEditDt() {
		return lastEditDt;
	}






	public void setLastEditDt(Date lastEditDt) {
		this.lastEditDt = lastEditDt;
	}






	public String getCreatedBy() {
		return createdBy;
	}






	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}






	public Date getCreatedDt() {
		return createdDt;
	}






	public void setCreatedDt(Date createdDt) {
		this.createdDt = createdDt;
	}






	public PdaMdAssetInfo getPdaMdAssetInfo() {
		return pdaMdAssetInfo;
	}






	public void setPdaMdAssetInfo(PdaMdAssetInfo pdaMdAssetInfo) {
		this.pdaMdAssetInfo = pdaMdAssetInfo;
		if (null != pdaMdAssetInfo) {
			this.barCode = pdaMdAssetInfo.getBarCode();
		}
	}






	public String getBarCode() {
		return barCode;
	}






	@Override
	public CheckCompleteResult checkComplete() {
		// TODO 增加检查逻辑
		return null;
	}

}
